//
//  RechargeQuestionViewController.m
//  SP2P
//
//  Created by 吴建东 on 16/7/25.
//  Copyright © 2016年 EIMS. All rights reserved.
//

#import "RechargeQuestionViewController.h"

@interface RechargeQuestionViewController ()

@end

@implementation RechargeQuestionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self initNavBarTitle:@"常见充值问题" andLeftItemName:@"返回" andRightItemName:@""];
    self.edgesForExtendedLayout = UIRectEdgeNone;
    
    UIScrollView *scollView = [UIScrollView scrollViewWithFrame:RECTMAKE(0, 0, MSWIDTH, MSHIGHT - 64) delegate:self backgroundColor:KbackgroundColor superview:self.view];
    
    NSString *mindStr = @"1.提示:持卡人账号信息和身份信息不匹配.\n原因为银行预留手机号不正确,您只需前往就近网点办理预留手机号即可 (注意:日常能接收到银行短信等内容不代表您的预留手机号正确,因为该项业务是针对网银和认证支付的,不少客户在办卡的时候未开通该业务,所以与能否正常接收银行短信无关)\n\n2.提示:银行卡未开通认证支付.\n个别用户的银行卡在充值时可能会出现“银行卡未开通认证支付”的错误提示,出现该提示后请用电脑浏览器打开如下网址http://online.unionpay.com/static/open/,打开后点击在线开通,按提示操作完成即可\n\n3.如果仍然无法解决问题可通过申请银行卡解绑来重新绑定新的银行卡(如您不小心绑定了不常用的银行卡想更换成新的银行卡也可按如下方法提出申请)前提是您账户内的总资产为0\n方法一. \n关注官方微信端，并在微信端留言 用户名或手机号,以及您的身份证号码,申请解绑银行卡\n方法二. \n拨打全国统一客服热线：4001006650,申请解绑银行卡\n方法三. \n将您的用户名或手机号以及您的身份证号码发送至客服邮箱suicunsuiqu@163.com,申请解绑银行卡\n\n我们将尽快核实信息后通过您提交的申请,谢谢您的支持!";
    
    CGFloat mindHeight = [MyTools getSizeOfString:mindStr maxWidth:MSWIDTH - 20 maxHeight:1000 withFontSize:13].height;
    
    UILabel *mindLabel = [UILabel labelWithFrame:RECTMAKE(10, 10, MSWIDTH - 20, mindHeight) text:mindStr textColor:KDarkGrayColor textFont:13 fitWidth:NO superview:scollView];
    mindLabel.numberOfLines = 0;
    
    scollView.contentSize = CGSizeMake(0, GetMaxY(mindLabel) + 10);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
